package com.ultimatech.webappdemo.base.model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * Created by zhangleping on 2017/5/15.
 */
@Entity
@DiscriminatorValue("recharge")
public class RechargeCard extends MemberCard{

    private Float restMoney;
    private Float costMoney;

    public Float getRestMoney() {
        return restMoney;
    }

    public void setRestMoney(Float restMoney) {
        this.restMoney = restMoney;
    }

    public Float getCostMoney() {
        return costMoney;
    }

    public void setCostMoney(Float costMoney) {
        this.costMoney = costMoney;
    }
}
